package com.bgs.client;

import com.bgs.common.R;
import com.bgs.pojo.vo.OrderDetail;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("service-detail")
public interface OrderDetailClient {
    @GetMapping("/detail/bgs/order-detail/TowGetOrderDetail")
    List<OrderDetail> TowgetOrderDetail(@RequestParam("orderDetailId") Integer orderDetailId);

    @GetMapping("/detail/bgs/order-detail/TowOrderList")
    List<OrderDetail> TowOrderList(@RequestParam("storeId") Integer storeId);
}
